Fast-track fix for `ostree_gpg_verify_result_get_all()`
authorColin Walters <walters@verbum.org>
Wed, 9 Feb 2022 23:41:31 +0000 (18:41 -0500)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:57 +0000 (12:53 -0400)
This cherry picks just the changes from
https://github.com/ostreedev/ostree/pull/2537

We don't need to wait to respin a new ostree release just
for this.

rust-bindings/rust/src/auto/gpg_verify_result.rs

index ec7617b6b05bb51586629ba0e5310ec9ae21610d..121f8f7ca202345af1e85e031981a3e987d7095b 100644 (file)
@@ -50,7 +50,7 @@ impl GpgVerifyResult {
     #[doc(alias = "get_all")]
     pub fn all(&self, signature_index: u32) -> Option<glib::Variant> {
         unsafe {
-            from_glib_full(ffi::ostree_gpg_verify_result_get_all(self.to_glib_none().0, signature_index))
+            from_glib_none(ffi::ostree_gpg_verify_result_get_all(self.to_glib_none().0, signature_index))
         }
     }